from flask import Flask, jsonify, request, render_template

# 实例化app
app = Flask(import_name = __import_name__)

@app.route('/vue_test', methods=['GET'])
def vue_test():
    return render_template('vue_test.html')

@app.route('/login', methods=['GET','POST'])
def login():
    method = request.method
    return jsonify(token = 123456, gender=0, method=method)

if name